package com.lxj.security.mapper;

import com.lxj.utils.entity.Permission;
import com.lxj.utils.entity.User;

import java.util.List;

public interface SecurityMapper {
    User getByName(String username);

    List<Permission> getPermissionsByUserId(Integer id);
}
